Extension point urlpatterns
In component org.nuxeo.ecm.platform.ui.web.rest.URLService
Documentation
URL patterns are used on the web layer to perform actions when a url is entered, and to rewrite urls after a post.
They are designed to use a given codec.
Contribution Descriptors
- Class: org.nuxeo.ecm.platform.ui.web.rest.descriptors.URLPatternDescriptor
Existing Contributions
Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.
-
<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService"> <documentation> Basic url pattern using the doc id codec: it places the application in the document context described by the url and sets current tabs. Additional url pattern using the doc path codec. </documentation> <urlPattern enabled="true" name="id"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>true</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>docid</codecName> <actionBinding>#{restHelper.initContextFromRestRequest}</actionBinding> <documentViewBinding>#{restHelper.documentView}</documentViewBinding> <newDocumentViewBinding> #{restHelper.newDocumentView} </newDocumentViewBinding> <bindings> <binding callGetter="false" name="tabId"> #{webActions.currentTabId} </binding> <binding callGetter="false" name="subTabId"> #{webActions.currentSubTabId} </binding> <binding name="tabIds">#{webActions.currentTabIds}</binding> <binding callGetter="false" name="language"> #{restHelper.localeString} </binding> </bindings> </urlPattern> <urlPattern enabled="true" name="default"> <defaultURLPolicy>true</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>true</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>docpath</codecName> <actionBinding>#{restHelper.initContextFromRestRequest}</actionBinding> <documentViewBinding>#{restHelper.documentView}</documentViewBinding> <newDocumentViewBinding> #{restHelper.newDocumentView} </newDocumentViewBinding> <bindings> <binding callGetter="false" name="tabId"> #{webActions.currentTabId} </binding> <binding callGetter="false" name="subTabId"> #{webActions.currentSubTabId} </binding> <binding name="tabIds">#{webActions.currentTabIds}</binding> <binding callGetter="false" name="language"> #{restHelper.localeString} </binding> <binding callGetter="false" name="mainTabId"> #{webActions.currentTabIds} </binding> </bindings> </urlPattern> </extension>
-
<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService"> <urlPattern enabled="true" name="user"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>true</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>user</codecName> <actionBinding> #{restHelper.initContextFromRestRequest} </actionBinding> <bindings> <binding callGetter="false" name="tabIds"> #{userRelationshipNetworkActions.relationsTab} </binding> <binding callGetter="false" name="username"> #{userManagementActions.selectedUserName} </binding> <binding callGetter="false" name="showUser"> #{userManagementActions.showUser} </binding> </bindings> </urlPattern> </extension>
-
<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService"> <urlPattern enabled="true" name="dam"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>true</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>docpathdam</codecName> <actionBinding> #{damSearchActions.loadPermanentLink} </actionBinding> <documentViewBindingApplies> #{mainTabsActions.isOnMainTab('dam')} </documentViewBindingApplies> <documentViewBinding>#{restHelper.documentView}</documentViewBinding> <newDocumentViewBinding> #{restHelper.getNewDocumentView(null)} </newDocumentViewBinding> <bindings> <binding name="tabIds">#{damActions.damMainTab}</binding> <binding callGetter="false" name="language"> #{restHelper.localeString} </binding> <binding callGetter="true" name="contentViewName"> #{damSearchActions.currentContentViewName} </binding> <binding callGetter="true" name="currentPage"> #{damSearchActions.currentPage} </binding> <binding callGetter="true" name="pageSize"> #{damSearchActions.pageSize} </binding> <binding callGetter="false" name="state"> #{damSearchActions.state} </binding> </bindings> </urlPattern> </extension>
-
<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService"> <urlPattern enabled="true" name="downloadThumbnail"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>false</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>downloadThumbnail</codecName> <actionBinding>#{thumbnailManager.downloadThumbnail}</actionBinding> <documentViewBinding> #{restHelper.documentView} </documentViewBinding> <newDocumentViewBinding> #{restHelper.newDocumentView} </newDocumentViewBinding> </urlPattern> </extension>
-
<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService"> <urlPattern enabled="true" name="downloadPicture"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>false</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>downloadPicture</codecName> <actionBinding>#{pictureManager.download}</actionBinding> <documentViewBinding> #{restHelper.documentView} </documentViewBinding> <newDocumentViewBinding> #{restHelper.newDocumentView} </newDocumentViewBinding> </urlPattern> <urlPattern enabled="true" name="downloadThumbnail"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>false</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>downloadThumbnail</codecName> <actionBinding>#{pictureManager.downloadThumbnail}</actionBinding> <documentViewBinding> #{restHelper.documentView} </documentViewBinding> <newDocumentViewBinding> #{restHelper.newDocumentView} </newDocumentViewBinding> </urlPattern> </extension>
-
<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService"> <documentation> Basic pattern for download: it resolve the file on given property of given document and makes its available for download. </documentation> <urlPattern enabled="true" name="downloadFile"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>false</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>downloadFile</codecName> <actionBinding>#{documentActions.download}</actionBinding> <documentViewBinding>#{restHelper.documentView}</documentViewBinding> <newDocumentViewBinding>#{restHelper.newDocumentView}</newDocumentViewBinding> </urlPattern> <!-- TODO: add patterns for pdf + edit online links --> </extension>
-
<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService"> <urlPattern enabled="true" name="home"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>true</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>docpathhome</codecName> <actionBinding>#{restHelper.initContextFromRestRequest}</actionBinding> <documentViewBindingApplies> #{mainTabsActions.isOnMainTab('home')} </documentViewBindingApplies> <documentViewBinding>#{restHelper.documentView}</documentViewBinding> <newDocumentViewBinding> #{restHelper.getNewDocumentView(null)} </newDocumentViewBinding> <bindings> <binding callGetter="false" name="tabId"> #{webActions.currentTabId} </binding> <binding callGetter="false" name="subTabId"> #{webActions.currentSubTabId} </binding> <binding name="tabIds">#{webActions.currentTabIds}</binding> <binding callGetter="false" name="language"> #{restHelper.localeString} </binding> </bindings> </urlPattern> <urlPattern enabled="true" name="user"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>true</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>user</codecName> <actionBinding> #{restHelper.initContextFromRestRequest} </actionBinding> <bindings> <binding callGetter="false" name="tabIds"> #{webActions.currentTabIds} </binding> <binding callGetter="false" name="username"> #{userManagementActions.selectedUserName} </binding> <binding callGetter="false" name="showUser"> #{userManagementActions.showUser} </binding> </bindings> </urlPattern> </extension>
-
<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService"> <urlPattern enabled="true" name="admin"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>true</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>docpathadmin</codecName> <actionBinding>#{restHelper.initContextFromRestRequest}</actionBinding> <documentViewBindingApplies> #{mainTabsActions.isOnMainTab('admin')} </documentViewBindingApplies> <documentViewBinding>#{restHelper.documentView}</documentViewBinding> <newDocumentViewBinding> #{restHelper.getNewDocumentView(null)} </newDocumentViewBinding> <bindings> <binding callGetter="false" name="tabId"> #{webActions.currentTabId} </binding> <binding callGetter="false" name="subTabId"> #{webActions.currentSubTabId} </binding> <binding name="tabIds">#{webActions.currentTabIds}</binding> <binding callGetter="false" name="language"> #{restHelper.localeString} </binding> </bindings> </urlPattern> </extension>
-
<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService"> <urlPattern enabled="true" name="facetedSearch"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>true</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>facetedSearch</codecName> <actionBinding> #{facetedSearchPermanentLinkActions.loadPermanentLink} </actionBinding> <bindings> <binding name="contentViewName"> #{facetedSearchActions.currentContentViewName} </binding> <binding name="values">#{facetedSearchActions.filterValues}</binding> </bindings> </urlPattern> </extension>
-
<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService"> <documentation> Url pattern to access templates </documentation> <urlPattern enabled="true" name="template"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>false</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>template</codecName> <actionBinding>#{templateRestHelper.render}</actionBinding> <documentViewBinding>#{restHelper.documentView}</documentViewBinding> <newDocumentViewBinding>#{restHelper.newDocumentView} </newDocumentViewBinding> </urlPattern> </extension>
-
<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService"> <urlPattern enabled="true" name="collab"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>true</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>docpathcollaboration</codecName> <actionBinding>#{restHelper.initContextFromRestRequest}</actionBinding> <documentViewBindingApplies> #{mainTabsActions.isOnMainTab('collaboration')} </documentViewBindingApplies> <documentViewBinding>#{restHelper.documentView}</documentViewBinding> <newDocumentViewBinding> #{restHelper.getNewDocumentView(null)} </newDocumentViewBinding> <bindings> <binding callGetter="false" name="tabId"> #{webActions.currentTabId} </binding> <binding callGetter="false" name="subTabId"> #{webActions.currentSubTabId} </binding> <binding name="tabIds">#{socialWorkspaceActions.collaborationMainTab}</binding> <binding callGetter="false" name="language"> #{restHelper.localeString} </binding> </bindings> </urlPattern> <urlPattern enabled="true" name="collaboration"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>true</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>doccollaboration</codecName> <actionBinding>#{restHelper.initContextFromRestRequest}</actionBinding> <documentViewBindingApplies> #{mainTabsActions.isOnMainTab('collaboration')} </documentViewBindingApplies> <documentViewBinding>#{restHelper.documentView}</documentViewBinding> <newDocumentViewBinding> #{restHelper.getNewDocumentView(null)} </newDocumentViewBinding> <bindings> <binding callGetter="false" name="tabId"> #{webActions.currentTabId} </binding> <binding callGetter="false" name="subTabId"> #{webActions.currentSubTabId} </binding> <binding name="tabIds">#{socialWorkspaceActions.collaborationMainTab}</binding> <binding callGetter="false" name="language"> #{restHelper.localeString} </binding> </bindings> </urlPattern> </extension>
-
<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService"> <documentation> Url pattern JSF bindings to access renditions </documentation> <urlPattern enabled="true" name="rendition"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>false</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>rendition</codecName> <actionBinding>#{renditionRestHelper.render}</actionBinding> <documentViewBinding>#{restHelper.documentView}</documentViewBinding> <newDocumentViewBinding>#{restHelper.newDocumentView} </newDocumentViewBinding> </urlPattern> </extension>
-
<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService"> <urlPattern enabled="true" name="workflow"> <defaultURLPolicy>false</defaultURLPolicy> <needBaseURL>true</needBaseURL> <needRedirectFilter>true</needRedirectFilter> <needFilterPreprocessing>true</needFilterPreprocessing> <codecName>docpathworkflow</codecName> <actionBinding> #{restHelper.initContextFromRestRequest} </actionBinding> <documentViewBindingApplies> #{mainTabsActions.isOnMainTab('workflow_dashboard')} </documentViewBindingApplies> <documentViewBinding> #{restHelper.documentView} </documentViewBinding> <newDocumentViewBinding> #{restHelper.getNewDocumentView(null)} </newDocumentViewBinding> <bindings> <binding callGetter="false" name="tabId"> #{webActions.currentTabId} </binding> <binding callGetter="false" name="subTabId"> #{webActions.currentSubTabId} </binding> <binding name="tabIds">#{webActions.currentTabIds}</binding> <binding callGetter="false" name="language"> #{restHelper.localeString} </binding> </bindings> </urlPattern> </extension>